package com.dmai.capacity.platform.common.model;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;


import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Set;

/**
 * 类说明 用户实体
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_user")
public class SysUser extends BaseUser<SysUser> {
	private static final long serialVersionUID = -5886012896705137070L;


	@TableField(exist = false)
	private Set<SysRole> roles;

	@TableField(exist = false)
	private String roleIds;

	@TableField(exist = false)
	private String oldPassword;

	@TableField(exist = false)
	private String newPassword;
}
